{% extends 'evaluate/admin/adminBase.html' %}


{%block right_views%}
<div class="">
            <div class="page-title">
              <div class="title_left">
                <h3>系统设置</h3>
              </div>

              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                 
                </div>
              </div>
            </div>
            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>当前用户 <small>{{u_type}}</small></h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                      </li>
                     
                      <li><a class="close-link"><i class="fa fa-close"></i></a>
                      </li>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

                    <form class="form-horizontal form-label-left" action="{% url 'add_admin' %}"  method="post" novalidate>

                      <p <code></code>  <a href="form.html"></a>
                      </p>
                      <span class="section"></span>
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">账号 <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <input id="name" class="form-control col-md-7 col-xs-12"  name="u_id" placeholder="" required="required" type="text">
                        </div>
                      </div>
                      <div class="item form-group">
                        <label for="pwd" class="control-label col-md-3">密码<span class="required">*</span></label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <input id="pwd" type="password" name="pwd"  class="form-control col-md-7 col-xs-12" required="required">
                        </div>
                      </div>
                      <div class="item form-group">
                        <label for="new_pwd2" class="control-label col-md-3 col-sm-3 col-xs-12">确认密码<span class="required">*</span></label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <input id="new_pwd2" type="password" name="new_pwd2" data-validate-linked="pwd" class="form-control col-md-7 col-xs-12" required="required">
                        </div>
                      </div>
                     
                      <div class="ln_solid"></div>
                      <div class="">
                        <div class="col-md-6 col-md-offset-3">
                          <a href="{% url 'add_admin' %}" class="btn btn-primary">重置表单</a>
                          <button id="send" type="submit"  class="btn btn-success">确认</button>
                          <span id="message">{{message}}</span>
                        </div>
                      </div>
                    </form>
                  </div>
                </div>
              </div>
            </div>
          </div>
{%endblock%}
